package com.xjtu.service;

import com.xjtu.dto.serviceRecord.AddServiceRecordDto;
import com.xjtu.dto.serviceRecord.UpdateServiceDto;
import com.xjtu.result.PageResult;
import com.xjtu.vo.serviceRecord.ServiceRecordVo;

public interface ServiceRecordService {

    ServiceRecordVo save(AddServiceRecordDto addServiceRecordDto);

    ServiceRecordVo update(UpdateServiceDto updateServiceRecordDto);

    ServiceRecordVo queryById(Integer id);

    PageResult pageQuery(Integer page, Integer size, String name);
}
